//导入 Http 类, 填写正确的路径, 相对路径和绝对路径 
import { Http } from '../utils/http';


class Pay {

  //获取微信统一支付接口
  static async get_pay(order_no) {
    return await Http.request({
      url: 'wechat/pay/unify_pay',
      data: { order_no },
      method: "POST"
    })
  }

  //获取余额支付 - 支付
  static async get_pay_balance_product(order_no, password) {
    return await Http.request({
      url: 'wechat/pay/pay_balance_product',
      data: { order_no, password },
      method: "POST"
    })
  }

}


export { Pay }